package com.corex.data;

import java.util.ArrayList;
import java.util.List;

import com.corex.vinayak.R;
import com.corex.vo.AllEnrolledClassDetail;
import com.corex.vo.ClassDetails;

public class AllEnrolledClassData {
	
	public static AllEnrolledClassDetail getAllEnrolledClassDetail(){
	AllEnrolledClassDetail allEnrolledClassDetail = new AllEnrolledClassDetail();
	ClassDetails classDetails = new ClassDetails();
	classDetails.setClassCode("0");
	classDetails.setClassName("Royal");
	classDetails.setIcon(R.drawable.ic_launcher);
	classDetails.setExamAvailable(true);
	classDetails.setNotesAvailable(true);
	classDetails.setProgressAvailable(true);
	allEnrolledClassDetail.getClassDetails().add(classDetails);
	
	classDetails = new ClassDetails();
	classDetails.setClassCode("1");
	classDetails.setClassName("Chate");
	classDetails.setIcon(R.drawable.ic_launcher);
	classDetails.setExamAvailable(true);
	classDetails.setNotesAvailable(false);
	classDetails.setProgressAvailable(true);
	allEnrolledClassDetail.getClassDetails().add(classDetails);
	
	return allEnrolledClassDetail;
	}
	
	public static List<String> getAllNotesSubject(String classCode){
		List<String> subjectOfClass = new ArrayList<String>();
		if (classCode.equals("0")) {
			subjectOfClass.add("Maths");
			subjectOfClass.add("English");
			subjectOfClass.add("Hindi");
		}else{
			subjectOfClass.add("Physics");
			subjectOfClass.add("Chemistry");
			subjectOfClass.add("Biology");
		}
		
		return subjectOfClass;
	}
}
